package com.oozol.lieluyun.entity;

public class BuildJob {
   private String jobName;
   private String tagName;
   private String publishType;
   private Integer number;
   private String apiVersionDeploy;
   private String apiVersionNumber;

   public String getJobName() {
      return this.jobName;
   }

   public String getTagName() {
      return this.tagName;
   }

   public String getPublishType() {
      return this.publishType;
   }

   public Integer getNumber() {
      return this.number;
   }

   public String getApiVersionDeploy() {
      return this.apiVersionDeploy;
   }

   public String getApiVersionNumber() {
      return this.apiVersionNumber;
   }

   public void setJobName(final String jobName) {
      this.jobName = jobName;
   }

   public void setTagName(final String tagName) {
      this.tagName = tagName;
   }

   public void setPublishType(final String publishType) {
      this.publishType = publishType;
   }

   public void setNumber(final Integer number) {
      this.number = number;
   }

   public void setApiVersionDeploy(final String apiVersionDeploy) {
      this.apiVersionDeploy = apiVersionDeploy;
   }

   public void setApiVersionNumber(final String apiVersionNumber) {
      this.apiVersionNumber = apiVersionNumber;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof BuildJob)) {
         return false;
      } else {
         BuildJob other = (BuildJob)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$jobName = this.getJobName();
            Object other$jobName = other.getJobName();
            if (this$jobName == null) {
               if (other$jobName != null) {
                  return false;
               }
            } else if (!this$jobName.equals(other$jobName)) {
               return false;
            }

            Object this$tagName = this.getTagName();
            Object other$tagName = other.getTagName();
            if (this$tagName == null) {
               if (other$tagName != null) {
                  return false;
               }
            } else if (!this$tagName.equals(other$tagName)) {
               return false;
            }

            Object this$publishType = this.getPublishType();
            Object other$publishType = other.getPublishType();
            if (this$publishType == null) {
               if (other$publishType != null) {
                  return false;
               }
            } else if (!this$publishType.equals(other$publishType)) {
               return false;
            }

            Object this$number = this.getNumber();
            Object other$number = other.getNumber();
            if (this$number == null) {
               if (other$number != null) {
                  return false;
               }
            } else if (!this$number.equals(other$number)) {
               return false;
            }

            Object this$apiVersionDeploy = this.getApiVersionDeploy();
            Object other$apiVersionDeploy = other.getApiVersionDeploy();
            if (this$apiVersionDeploy == null) {
               if (other$apiVersionDeploy != null) {
                  return false;
               }
            } else if (!this$apiVersionDeploy.equals(other$apiVersionDeploy)) {
               return false;
            }

            Object this$apiVersionNumber = this.getApiVersionNumber();
            Object other$apiVersionNumber = other.getApiVersionNumber();
            if (this$apiVersionNumber == null) {
               if (other$apiVersionNumber != null) {
                  return false;
               }
            } else if (!this$apiVersionNumber.equals(other$apiVersionNumber)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof BuildJob;
   }

   public int hashCode() {
      int PRIME = 59;
      int result = 1;
      Object $jobName = this.getJobName();
      result = result * 59 + ($jobName == null ? 43 : $jobName.hashCode());
      Object $tagName = this.getTagName();
      result = result * 59 + ($tagName == null ? 43 : $tagName.hashCode());
      Object $publishType = this.getPublishType();
      result = result * 59 + ($publishType == null ? 43 : $publishType.hashCode());
      Object $number = this.getNumber();
      result = result * 59 + ($number == null ? 43 : $number.hashCode());
      Object $apiVersionDeploy = this.getApiVersionDeploy();
      result = result * 59 + ($apiVersionDeploy == null ? 43 : $apiVersionDeploy.hashCode());
      Object $apiVersionNumber = this.getApiVersionNumber();
      result = result * 59 + ($apiVersionNumber == null ? 43 : $apiVersionNumber.hashCode());
      return result;
   }

   public String toString() {
      return "BuildJob(jobName=" + this.getJobName() + ", tagName=" + this.getTagName() + ", publishType=" + this.getPublishType() + ", number=" + this.getNumber() + ", apiVersionDeploy=" + this.getApiVersionDeploy() + ", apiVersionNumber=" + this.getApiVersionNumber() + ")";
   }
}
